package com.one.group.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.ai.tool.annotation.ToolParam;

import java.util.Date;

/**
 * {@code @Create:}  2025-10-15  18 : 12
 * {@code @Author:} Cherry
 * {@code @ToAuthor:} 凡是发生,皆有利于我。
 * ------------------------------------
 * {@code @note:}
 */

@SuppressWarnings({"all"})
@Data
public class VisitorAiQueryDto {
    @ToolParam(description = "访客姓名", required = false)
    private String name;
    @ToolParam(description = "该访客所属的小区地址", required = false)
    private String address;
    @ToolParam(description = "该访客的到访时间", required = false)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;
    @ToolParam(description = "该访客的离开时间", required = false)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;
}
